package com.bobbygu.googlearchitecture.bean

import android.arch.persistence.room.Entity
import android.arch.persistence.room.PrimaryKey

/**
 * stories表
 * # time: 2017/12/20 9:54
 * # e-mail: gubojun@csii.com.cn
 * @author 顾博君
 * @since 1.0
 */
@Entity(tableName = "stories")
class Story {
    @PrimaryKey(autoGenerate = true)
    var id = 0
    var data = ""
    var displayData = ""
    var title = ""
    override fun toString(): String {
        return "Story(id=$id, data='$data', displayData='$displayData', title='$title')"
    }
}